import axios from "@/utils/request";
export function getList(params) {
  return axios({
    url: "/wms/pm/list",
    method: "get",
    params
  })
}
export function delById(params) {
  return axios({
    url: "/wms/pm/del",
    method: "get",
    params
  })
}
export function update(data) {
  return axios({
    url: "/wms/pm/update",
    method: "post",
    data
  })
}
export function add(data) {
  return axios({
    url: "/wms/pm/add",
    method: "post",
    data
  })
}
